Xamarin.iOS Documentation | ComponentOne
C1.iOS.Grid Assembly / C1.iOS.Grid Namespace / GridMenuItem Class / GridMenuItem Constructor / GridMenuItem Constructor(String,Func<Object>)


In This Topic
    GridMenuItem Constructor(String,Func<Object>)
    In This Topic
    Initializes a new instance of the GridMenuItem class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal text As String, _
       ByVal action As Func(Of Object) _
    )
    'Usage
     
    
    Dim text As String
    Dim action As Func(Of Object)
     
    Dim instance As New GridMenuItem(text, action)
    public GridMenuItem( 
       string text,
       Func<object> action
    )

    Parameters

    text
    action
    See Also